package com.tony.vo;

import java.io.Serializable;

public class Result implements Serializable {

	private static final long serialVersionUID = 3486782918718847470L;

	private boolean success;

	private String message;

	private Object data;

	public Result() {
	}

	public Result(boolean success, String message, Object data) {
		super();
		this.success = success;
		this.message = message;
		this.data = data;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

}
